package com.qi.mapper;

import com.qi.commom.User;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

@Mapper
public interface LoginMapper {
    /**
     * 登录方法
     * @param user
     * @return
     */
    User loginUser(User user);

    /**
     * 注册新账号
     * @param user
     */
    void insertUser(User user);


}
